<form action = "index.php" name = "form_ad_search" method = "get" onsubmit = "return validateFormAdvancedSearch('form_ad_search')">
<table class = "unocart" cellpadding = "6">
  <tr>
    <td colspan = "2">
      <input type = "text" name = "search_word" id = "search_word" class = "inputbox" style = "width:300px" />
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_CATEGORIES}
    </td>
    <td> 
      {$list_categories}<br />
      <input type = "checkbox" name = "include_subcat" id = "include_subcat" value = "1" />
      <label for = "include_subcat">{$smarty.const._UNOCART_SEARCH_INCLUDE_SUBCAT}</label>
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_MANUFACTURERS}    
    </td>
    <td>
      {$list_manufacturers}
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_PRICE_FROM}      
    </td>
    <td>
      <input type = "text" class = "inputbox" name = "price_from" id = "price_from" />
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_PRICE_TO}      
    </td>
    <td>
      <input type = "text" class = "inputbox" name = "price_to" id = "price_to" />
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_DATE_FROM}      
    </td>
    <td>
      <input type = "text" class = "inputbox" name = "date_from" id = "date_from" />
      <input class = "button" type = "button" name = "reset_1" value = "..." onclick = "showCalendar('date_from')" />
    </td>
  </tr>
  <tr>
    <td>
      {$smarty.const._UNOCART_SEARCH_DATE_TO}      
    </td>
    <td>
      <input type = "text" class = "inputbox" name = "date_to" id = "date_to" />
      <input class = "button" type = "button" name = "reset_2" value = "..." onclick = "showCalendar('date_to')" />
    </td>
  </tr>
  <tr>
    <td colspan = "2">
      <input type = "submit" name = "search" value = "{$smarty.const._UNOCART_SEARCH}" />  
    </td>
  </tr>
</table>
<input type = "hidden" name = "Itemid" value = "{$Itemid}" />
<input type = "hidden" name = "task" value = "adv_search" />
<input type = "hidden" name = "op" value = "search" />
<input type = "hidden" name = "option" value = "com_unocart" />
</form>